A message-passing interpretation of adjoint logic
نویسندگان
چکیده
We present a system of session types based on adjoint logic which generalizes standard binary types. Our allows us to uniformly capture several new behaviors in the space asynchronous message-passing communication, including multicast, where process sends single message multiple clients, replicable services, have clients and replicate themselves on-demand handle requests from those cancellation, discards channel without communicating along it. provide fidelity deadlock-freedom results for this system, we then derive logically justified form garbage collection.
منابع مشابه
Message Passing Logic
Message passing is a key ingredient of concurrent programming. The purpose of this paper is to describe the equivalence between the proof theory, the categorical semantics, and term calculus of message passing. In order to achieve this we introduce the categorical notion of a linear actegory and the related polycategorical notion of a poly-actegory. Not surprisingly the notation used for the te...
متن کاملThe logic of message passing
Message passing is a key ingredient of concurrent programming. The purpose of this paper is to describe the equivalence between the proof theory, the categorical semantics, and term calculus of message passing. In order to achieve this we introduce the categorical notion of a linear actegory and the related polycategorical notion of a poly-actegory. Not surprisingly the notation used for the te...
متن کاملA Framework for Proving Correctness of Adjoint Message-Passing Programs
Adjoint programs play a central role in modern numerical algorithms such as large-scale sensitivity analysis, parameter tuning, and general nonlinear optimization. They can be generated automatically by compilers. In such cases, the data flow of the original program needs to be reversed. If message passing is used, then any communication needs to be reversed, too. Crucial properties of the orig...
متن کاملAn Operator Interpretation of Message Passing
Message passing algorithms may be viewed from a purely probabilistic or statistical physics perspective. This works describes an alternative, linear algebraic view of message passing in trees. We demonstrate the construction of global belief operators on Markov Chains and Trees and compare these with classical results. By interpreting message passing as finding a global stable solution we wish ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Journal of logical and algebraic methods in programming
سال: 2021
ISSN: ['2352-2208', '2352-2216']
DOI: https://doi.org/10.1016/j.jlamp.2020.100637